package com.listener.dao;

import com.listener.pojo.Ability;
import com.listener.pojo.Move;
import com.listener.pojo.Pokemon;
import com.listener.pojo.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PokemonDao {
    //查询所有宝可梦
    public List<Pokemon> selectAllPokemon();
    //分页查询宝可梦
    public Page<Pokemon> selectPokemonPage(Pokemon pokemon, Integer pageNum, Integer pageSize);
    //查询指定宝可梦
    public List<Pokemon> selectPokemon(Pokemon pokemon);
    //通过宝可梦查询可学会的技能
    public List<Map<String,Object>> selectMoveByPokemon(String pokemon);
}
